import { ADD_LIST , INPUT_VALUE , DEL_ITEM , GET_lIST} from "./actionType";

export const setAddList = ()=>({
    type: ADD_LIST,
})

export const getInputValue = (value)=>({
    type:INPUT_VALUE,
    value
})

export const setDelItem = (index)=>({
    type:DEL_ITEM,
    index
})

export const getList = (data)=>({
    type:GET_lIST,
    data
})